package com.uinfor.controller;

import com.uinfor.service.MessageProvider;
import org.omg.CORBA.PUBLIC_MEMBER;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @descripttion:
 * @Author: WZH
 * @Date :2021/1/29  9:31
 **/
@RestController
public class SendMessageController {
    @Resource
    private MessageProvider messageProvider;
    @GetMapping("/sendMg")
    public String sendMessage(){
        return messageProvider.send();
    }


}
